package com.quectel.multicamera;

import android.app.Service;
import android.content.Intent;
import android.os.Binder;
import android.os.IBinder;


import androidx.annotation.Keep;

import com.quectel.qcarapi.util.QCarLog;

@Keep
public class RecordService extends Service {
    private String TAG = "RecordService";

    //client 可以通过Binder获取Service实例
    public class RecordBinder extends Binder {
        public RecordService getService() {
            return RecordService.this;
        }
    }

    private RecordBinder recordBinder = new RecordBinder();
    @Override
    public IBinder onBind(Intent intent) {
        return recordBinder;
    }

    @Override
    public boolean onUnbind(Intent intent) {
        QCarLog.i(QCarLog.LOG_MODULE_APP, TAG, "RecordService - onUnbind - from = ");
        return false;
    }

    @Override
    public void onCreate() {
        super.onCreate();
    }

    @Override
    public int onStartCommand(Intent intent,int flags, int startId) {
        return super.onStartCommand(intent, flags, startId);
    }

    @Override
    public void onDestroy() {
        super.onDestroy();
    }
}
